.page {
  margin-top: -68px;
  padding-top: 68px;
  background-color: #010714;
  background-repeat: no-repeat;
  :global {
    #courses-detail-tabs {
      .ant-tabs-tabpane {
        width: 1200px;
        margin: 0 auto;
      }
      .ant-tabs-nav-wrap {
        width: 1200px;
        max-width: 1200px;
        margin: 0 auto;
      }
    }
    .ant-tabs-nav {
      position: sticky;
      top: 68px;
      left: 0;
      z-index: 102;
      width: 100%;
      &.fixed {
        background: #010714;
      }

      //
    }
  }
  .bgwrapper {
    position: absolute;
    top: 68px;
    left: 50%;
    z-index: 1;
    width: 100%;
    height: 820px;
    margin: 0 auto;
    overflow: hidden;
    transform: translateX(-50%);
    .picbg {
      width: 100%;
      height: 800px;
      background-repeat: no-repeat;
      background-size: cover;
      filter: blur(20px);
    }
    .picbg2 {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 4;
      width: 100%;
      height: 100%;
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }
    .leftmask {
      position: absolute;
      top: 0;
      left: 0px;
      z-index: 1;
      width: 1156px;
      height: 100%;
      background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #010714 68%, #010714 100%);
    }
    .topmask {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
      width: 100%;
      height: 420px;
      background: linear-gradient(180deg, #010714 0%, rgba(1, 7, 20, 0) 100%);
    }
    .bottommask {
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 3;
      width: 100%;
      height: 420px;
      background: linear-gradient(180deg, rgba(1, 7, 20, 0) 0%, #010714 100%);
    }
    .allmask {
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 4;
      width: 100%;
      height: 100%;
      background: #010714;
      opacity: 0;
    }
  }

  .bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(18px);
  }
  .bg2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .content {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    border-radius: 20px;
    .w1200 {
      width: 1200px;
      margin: 0 auto;
    }
  }

  .path {
    margin: 30px 0 10px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    .all {
      color: #fff;
      opacity: 0.3;
      &:hover {
        opacity: 1;
      }
    }
    .arrow {
      margin: 0 8px;
      color: #fff;
      opacity: 0.3;
    }
    .current {
      color: #fff;
    }
  }
  .detail {
  }

  .package {
    padding: 20px;

    .title {
      display: block;
      width: 248px;
      height: 36px;
      margin: 20px auto 17px auto;
    }
    :global {
      .cgjoy--package-item {
        width: 20% !important;
      }
    }
  }

  .tabWrapper {
    margin-top: 80px;

    .tabs {
      margin-bottom: 50px;

      :global {
        .ant-tabs-tab {
          margin: 0 80px 0 0;
          padding: 0;
          font-weight: 500;
          font-size: 30px;

          &.ant-tabs-tab-active .ant-tabs-tab-btn {
            color: #fff;
            font-size: 36px;
          }

          .ant-tabs-tab-btn {
            display: flex;
            flex-direction: column;
            justify-content: end;
            height: 55px;
            color: rgba(255, 255, 255, 0.3);
          }
        }

        .ant-tabs-ink-bar {
          height: 1px;
          background-color: #4de7ff;
        }

        .ant-tabs-nav::before {
          display: none;
        }
      }
    }
  }
}

.introduce {
  padding: 50px 0 40px 0;
  a {
    color: #4ee9ff;
    &:active {
      color: #4ee9ff;
    }
  }
  .message {
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
  }
  .introduceItem {
    text-align: center;
    img {
      max-width: 100%;
    }
  }
  img {
    max-width: 100%;
  }
  .video {
    width: 100%;
  }
}

// 课程目录
.catalogue {
  margin-top: 53px;
}

.collapsibleItem {
  margin-bottom: 4px;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 24px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    .arrow {
      display: none;
      width: 44px;
      height: 44px;
      background: url('~@/assets/pc/images/course/icon-arrow-top-2.png') no-repeat center / 18px
        18px;
      cursor: pointer;
      transition: all 0.3s;
    }
  }
  &.collapsed {
    .body {
      height: 0;
      overflow: hidden;
    }
    .arrow {
      transform: rotate(180deg);
    }
  }
  .body {
    height: auto;
    transition: all 0.3s;
  }

  .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 40px);
    height: 60px;
    margin-left: 20px;
    color: #fff;
    cursor: pointer;
    &:hover {
      color: #4de7ff;
      .play {
        background: url('~@/assets/pc/images/course/icon-play-small-2-hover.png') no-repeat center /
          100% 100% !important;
      }
    }
    &:last-child {
      border-bottom: none;
    }

    &.type0 {
      .right {
        .gmbutton {
          display: none;
        }
      }

      &:hover {
        .right {
          .gmbutton {
            display: flex;
          }

          .time {
            display: none;
          }
        }
      }
    }

    &:hover {
      // background: #1e325a;
    }

    .left {
      display: flex;
      align-items: center;

      .index {
        margin-right: 24px;
      }

      .play {
        width: 28px;
        height: 22px;
        margin-right: 20px;
        background: url('~@/assets/pc/images/course/icon-play-small-2.png') no-repeat center / 100%
          100%;
      }
    }

    .right {
      display: flex;
      align-items: center;
      justify-content: flex-end;

      .time {
        color: #7688a5;
      }

      .sxbutton {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 36px;
        color: #fff;
        background: #ff2745;
        border-radius: 10px;
        &:hover {
          opacity: 0.9;
        }
      }

      .gmbutton {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 36px;
        color: #fff;
        font-size: 14px;
        background: #254df8;
        border-radius: 10px;
        cursor: pointer;
        &:hover {
          opacity: 0.9;
        }
      }

      .lock {
        width: 24px;
        height: 24px;
        background: url('~@/assets/pc/images/course/icon-lock.png') no-repeat center / 100% 100%;
      }
    }
  }
}

.works {
  padding: 20px;

  .list {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;

    .item {
      width: 20%;
      padding: 10px;
    }
  }

  .pagination {
    margin-top: 30px;
  }
}

// 老带新
// .reward {
//   position: fixed;
//   top: 50%;
//   transform: translateY(-75%);
//   right: -9px;
// }

.floatButts {
  position: fixed;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  .buttons {
    width: 70px;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    .button {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 70px;
      cursor: pointer;
      &::after {
        position: absolute;
        bottom: 1px;
        left: 50%;
        width: 36px;
        height: 1px;
        background-color: #fff;
        transform: translateX(-50%);
        opacity: 0.1;
        content: ' ';
      }
      &:last-child {
        &::after {
          display: none;
        }
      }
      &:hover {
        background: rgba(255, 255, 255, 0.2);
      }
      .icon1 {
        width: 20px;
        height: 20px;
        background: url('~@/assets/pc/images/course/icon-bianji-kecheng.png') no-repeat center /
          100%;
      }
      .icon2 {
        width: 20px;
        height: 20px;
        background: url('~@/assets/pc/images/course/icon-fenxiang.png') no-repeat center / 100%;
      }
      .icon3 {
        width: 20px;
        height: 20px;
        background: url('~@/assets/pc/images/course/icon-hetong.png') no-repeat center / 100%;
      }
      .icon4 {
        width: 20px;
        height: 20px;
        background: url('~@/assets/pc/images/course/xxx.png') no-repeat center / 100%;
      }
      .icon5 {
        width: 20px;
        height: 20px;
        background: url('~@/assets/pc/images/course/icon-xuexi.png') no-repeat center / 100%;
      }
      .icon6 {
        width: 20px;
        height: 20px;
        background: url('~@/assets/pc/images/course/icon-kefu.png') no-repeat center / 100%;
      }
      .text {
        margin-top: 8px;
        color: #fff;
        font-size: 12px;
      }
    }
  }
  .top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    &:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    .iconTop {
      width: 24px;
      height: 24px;
      background: url('~@/assets/pc/images/course/icon-scroll-top.png') no-repeat center / 18px 18px;
    }
  }
}

.sharepopover {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      padding: 12px;
      background: #fff;
      border-radius: 8px;
    }
    .ant-popover-arrow {
      transform: translateX(97%) translateY(-50%);
    }
    .ant-popover-inner-content {
      padding: 0;
    }
    .ant-popover-arrow-content {
      background-color: #fff;
    }
  }
}
.wxsharemain {
  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    margin-top: 12px;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    img {
      margin-right: 6px;
    }
  }
}

.kefumain {
  .title {
    height: 34px;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    line-height: 34px;
    text-align: center;
    background: #ecedf3;
    border-radius: 12px 12px 0px 0px;
  }
  .body {
    display: flex;
    align-items: center;
    padding: 20px;

    .item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-right: 50px;
      &:last-child {
        margin-right: 0;
      }
      &.actived {
        .des {
          .dot {
            background: #2db363;
          }
          .text {
            color: #2db363;
          }
        }
      }
      .des {
        display: flex;
        align-items: center;
        margin-top: 8px;
        .dot {
          width: 4px;
          height: 4px;
          background: rgba(184, 184, 184, 1);
          border-radius: 50%;
        }
        .text {
          margin-left: 4px;
          color: rgba(184, 184, 184, 1);
          font-weight: 400;
          font-size: 12px;
          font-style: normal;
        }
        .line {
          width: 1px;
          height: 5px;
          margin: 0 8px;
          background: #000;
          opacity: 0.2;
        }
        .date {
          color: #000000;
          font-weight: 400;
          font-size: 12px;
        }
      }
    }
  }
}

.kefupopover {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      padding: 0;
      background: #fff;
      border-radius: 8px;
    }
    .ant-popover-arrow {
      transform: translateX(97%) translateY(-50%);
    }
    .ant-popover-inner-content {
      padding: 0;
    }
    .ant-popover-arrow-content {
      background-color: #fff;
    }
  }
}

.sharepopover2 {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      padding: 12px;
      background: #fff;
      border-radius: 8px;
    }
    .ant-popover-arrow {
      transform: translateX(94%) translateY(-50%);
    }
    .ant-popover-inner-content {
      padding: 0;
    }
    .ant-popover-arrow-content {
      background-color: #fff;
    }
  }
}
.wxsharemain2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 347px;
  height: 431px;
  padding-top: 75px;
  background: url('~@/assets/pc/images/course/wxshareyhq.png') no-repeat center / 100%;
  .tips {
    height: 20px;
    margin-bottom: 5px;
    color: #4c4b49;
    font-weight: 600;
    font-size: 14px;
  }
  .price {
    position: relative;
    height: 72px;
    margin-bottom: 23px;
    color: #f65435;
    font-weight: normal;
    font-size: 60px;
    font-family: HelveticaNeue-CondensedBlack, HelveticaNeue;
    line-height: 74px;
    .unit {
      position: absolute;
      top: -20px;
      right: -5px;
      color: #e33e2e;
      font-size: 12px;
      font-style: normal;
    }
  }
  .title {
    margin-top: 9px;
    color: #4c4b49;
    font-size: 12px;
    .icon {
      width: 19px;
      margin-right: 6px;
    }
  }
  .tips2 {
    height: 20px;
    margin-top: 73px;
    color: #ffed3c;
    font-weight: 600;
    font-size: 14px;
    font-family: PingFangSC-Semibold, PingFang SC;
    line-height: 20px;
    letter-spacing: 1px;
  }
}
